//
//  SingletonUser.m
//  ShareNavigation
//
//  Created by 水木 傅 on 12-5-5.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "SingletonUser.h"

@implementation SingletonUser

@synthesize UserID;
@synthesize PassWord;
@synthesize HeadPhoto;
@synthesize HasLogin;

static SingletonUser *shareUserManager;

//---  实现单例模式  ---
+(SingletonUser *)shareManager
{
    @synchronized(self)
    {
        if(shareUserManager == nil)
        {
            shareUserManager = [[super alloc] init];
        }
    }
    return shareUserManager;
}

@end






